<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title></title>
    <script src="http://cdn.static.runoob.com/libs/jquery/1.10.2/jquery.min.js">
    </script>
    <script src="../js/iscroll.js"></script>
    <link rel="stylesheet" href="../css/common.css"/>
    <link rel="stylesheet" href="../css/yishijianjie.css"/>
</head>
<body>
<div id="all" style="display: none">
    <div class="box">
        <div class="box_top"></div>
        <div class="date1" id="wrapper">
            <ul class="date1_list">
                <li class="date_active"><div class="tag"><p class="week">今天</p><p class="month_date">04-18</p></div></li>
                <li class="date_active"><div><p class="week">今天</p><p class="month_date"></p></div></li>
                <li class="date_active"><div><p class="week">今天</p><p class="month_date"></p></div></li>
                <li class="date_active"><div><p class="week">今天</p><p class="month_date"></p></div></li>
                <li class="date_active"><div><p class="week">今天</p><p class="month_date"></p></div></li>
                <li class="date_active"><div><p class="week">今天</p><p class="month_date"></p></div></li>
                <li class="date_active"><div><p class="week">今天</p><p class="month_date"></p></div></li>
            </ul>
            </div>
        <div class="choose_time">
            <p>选择时间段</p>
            <ul></ul>
        </div>
        </div>
    <img class="close" src="../imgs/close.png" alt=""/>
    </div>
<div id="header">
    <p>医师简介</p>
    <span class="back"><a href="javascript:;window.history.go(-1)">返回</a></span>
</div>
<div id="main"> <div class="load"><img src="../imgs/loading.gif" alt=""/></div></div>
<div class="bot_loading">加载中...</div>

<script id="doctor" type="text/html">
    <div class="top">
        <img src="../imgs/vr.png" alt=""/>
        <div class="info">
            <p class="p1"><span class="name">{{doctor_info.data.name}}</span>
                <span class="job">{{doctor_info.data.job}}</span>
                {{if doctor_info.data.f_state==1}}
                <span class="yiguanzhu">已关注</span>
                {{else}}
                <span class="guanzhu">关注</span>
            {{/if}}
            </p>
            <p class="p2">武汉市儿童医院</p>
            <p class="p3">
                {{each doctor_info.data.pro_tag_arr value}}
                <span>{{value}}</span>
                {{/each}}
            </p>
        </div>
    </div>
    <div class="detail">
        <div class="one">
            <p>擅长：</p>
            <p>{{doctor_info.data.tech_desc}}</p>
        </div>
        <div class="one">
            <p>简介：</p>
            <p>{{doctor_info.data.intro}}</p>
        </div>
        <div class="two">
            <p>预约费用：会员价格<span>{{doctor_info.data.res_vip_free}}</span>元 <i class="mo">普通价格</i><span>{{doctor_info.data.res_free}}</span>元</p>
            <div>
                <p class="yuyue" d_id="{{doctor_info.data.id}}">立即预约</p>
                <p>会员权益</p>
            </div>
        </div>
    </div>
    <div class="comment">
        <p class="title">用户评价</p>
        <ul class="comment_list">
            {{each comment.data.data value index}}
            <li>
            <img src="../imgs/vr.png" alt=""/>
            <div class="text">
            <p>张三
                <strong class="star">
                    {{each value.start value }}
                        <img src="../imgs/star.png" alt=""/>
                    {{/each}}
                </strong>
                <i>{{value.created_at}}</i>
            </p>
            <p>{{value.content}}</p>
            </div>
            </li>
            {{/each}}
        </ul>
    </div>
</script>
<script id="comment_list" type="text/html">
        {{each comment.data.data value index}}
        <li>
            <img src="../imgs/vr.png" alt=""/>
            <div class="text">
                <p>张三
                    <strong class="star">
                        {{each value.start value }}
                        <img src="../imgs/star.png" alt=""/>
                        {{/each}}
                    </strong>
                    <i>{{value.created_at}}</i>
                </p>
                <p>{{value.content}}</p>
            </div>
        </li>
        {{/each}}
</script>
<script id="yuyue" type="text/html">
    <img src="../imgs/vr.png" alt=""/>
    <div class="info1">
        <p class="p1"><span class="name">{{doctor.data.name}}</span> <span class="job">{{doctor.data.job}}</span></p>
        <p class="p2">武汉市儿童医院</p>
        <p class="p3">
            {{each doctor.data.pro_tag_arr value}}
            <span>{{value}}</span>
            {{/each}}
        </p>
    </div>
</script>
<!--预约时间段-->
<script id="choose_date" type="text/html">
    {{each work_time.time_area1 value}}
    <li>
        {{each value.time value}}
        <span>{{value}}</span>
        {{/each}}

        {{ if value.is_app==1}}
        <i class="gray" work_time="{{value.time}}">已预约</i>
        {{else}}
        <i class="yy"  work_time="{{value.time}}">预约</i>
        {{/if}}
    </li>
    {{/each}}
</script>
<script src="../js/jquery.cookie.js"></script>
<script src="../js/config.js"></script>
<script src="../js/template.js"></script>
<script src="../js/ajax.js"></script>
<script src="../js/doctor_info.js"></script>
</body>
</html>